home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / transl.z / transl
Encoding:
Text File  |  2002-10-03  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ttttrrrraaaannnnssssllll((((3333GGGG))))                                                          ttttrrrraaaannnnssssllll((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ttttrrrraaaannnnssssllll - translates the current matrix
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ttttrrrraaaannnnssssllll((((xxxx,,,, yyyy,,,, zzzz))))
  13.      rrrreeeeaaaallll xxxx,,,, yyyy,,,, zzzz
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _x   expects the _x coordinate of a point.
  17.  
  18.      _y   expects the _y coordinate of a point.
  19.  
  20.      _z   expects the _z coordinate of a point.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      ttttrrrraaaannnnssssllll moves the coordinate system origin to a point specified in the
  24.      current coordinate system.  The _x, _y, and _z coordinates are used to
  25.      compute a 4x4 translation matrix, which then premultiplies the current
  26.      matrix, as specified by mmmmmmmmooooddddeeee.  Thus if _T is the current matrix, and _X is
  27.      the translation matrix computed by ttttrrrraaaannnnssssllll, _T is replaced with _X*_T.
  28.  
  29.      The current matrix is the top matrix on the transformation stack if mmmmmmmmooooddddeeee
  30.      is MMMMSSSSIIIINNNNGGGGLLLL, the top matrix on the ModelView matrix stack if mmmmmmmmooooddddeeee is
  31.      MMMMVVVVIIIIEEEEWWWWIIII, the Projection matrix if mmmmmmmmooooddddeeee is MMMMPPPPRRRROOOOJJJJEEEE, or the Texture matrix
  32.      if mmmmmmmmooooddddeeee is MMMMTTTTEEEEXXXXTTTTUUUU.
  33.  
  34.      All objects drawn after ttttrrrraaaannnnssssllll is called while mmmmmmmmooooddddeeee is either MMMMSSSSIIIINNNNGGGGLLLL or
  35.      MMMMVVVVIIIIEEEEWWWWIIII are translated.  Use ppppuuuusssshhhhmmmmaaaa and ppppooooppppmmmmaaaatttt to preserve and restore the
  36.      untranslated coordinate system.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      mmode, popmat, pushma, rotate, scale
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.